
html,body{
    font-size: 20px;
    padding: 0;
    margin: 0;
}
header{
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    justify-content: space-between;
    align-items: center;
    height: 2.334rem;
    background-color: #f2f2f2;
    .logo{
        img{
            width: 1.334rem;
            height: .877rem;
            margin: 0 .734rem;
            display: block;
        }
    }
    .user{
        .user-p{
            width: 1rem;
            height: 1rem;
            margin: 0 .9rem;
            background: url(../img/user.png) no-repeat center;
            background-size: 1rem;
        }
    }
    .search-box{
        display: flex;
        align-items: center;
        width: 100%;
        height: 1.6625rem;
        border: 1px solid #e5e5e5;
        background-color: #fff;
        border-radius: 2px;
        .search-p{
            width: 1.5rem;
            height: 1.5rem;
            margin: 0;
            background: url(../img/search.png) no-repeat center;
            background-size: 1rem;
        }
        .search{
            margin: 0;
            height: 100%;
            color: rgba(0,0,0,.3);
            background-color: #fff;
            font-size: .83335rem;
            line-height: 1.6625rem;
        }
    }
}
.nav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #f2f2f2;
    text-align: center;
    font-size: 0;
    height: 1.6345rem;
    margin-top: 2.334rem;
   .inner-nav{
    position: relative;
    .nav-item{
        display: inline-block;
        padding: 0 .65rem;
        span{
            line-height: 1.5rem;
            font-size: .68rem;
            color: #747474;
        }
        &:nth-child(5){
            padding-right: 2rem;
        }
    }
    .nav-display{
        position: absolute;
        top: 0;
        right: 0;
        width:1.75rem ;
        height: 1.4rem;
        z-index: 99;
        p{
            background: url(../img/row.png) no-repeat;
            background-size: cover;
            width: 1rem;
            height: 1rem;
            margin: .2rem 0;
        }
    }
   }
}
.content{
    margin: 3.9685rem  auto  2.5rem;
    max-width: 720px !important;
    .nav-p{
        a{
            display: block;
            width: 100%;
            img{
                display: block;
                width: 100%;
                // height: 3.229;
                
            }
        }
    }
    .goods{
        display: flex;
        justify-content: center;
        // padding: 0 .4165rem;
        background: rgb(225, 65, 57);
        // padding: 0 .4rem;
       .goods-item{
           text-align:center;
           width: 5.75rem;
           background-color: #fff;
           border-radius:.15rem;
           overflow: hidden;
           text-decoration: none;
           &:nth-child(2){
               margin: 0 .3rem;
           }
            img{
                width: 5.75rem;
                height: 5.75rem;
            }
            .des{
                padding: .5rem .25rem;
                text-align: center;
                .name{
                    font-size: .625rem;
                    color: #3c3c3c;
                    padding: 0 .3rem;
                    margin: 0;
                    font-weight: bolder;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
                .brief{
                    font-size: .6rem;
                    margin:.15rem 0 0 0;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    color: #3c3c3c;
                }
                .price{
                    margin: .2rem 0 0;
                    color: #f54b4b;
                    font-size: .725rem;
                    font-weight: 700;
                    span{
                        color: rgba(0,0,0,.54);
                        font-size: .6rem;
                        text-decoration: line-through;
                        margin-left:.2rem;
                    }
                }
            }
       }
    }
}
footer{
    position: fixed;
    bottom: 0;
    left: 0;
    right:0;
    z-index: 999;
    width: 100%;
    height:2.6rem;
    background-color: #fff;
    box-shadow: 0 3px 14px 2px rgba(0 ,0 ,0 ,12%);
    .bt-nav{
        display: flex;
        align-items: center;
        height: 2.5rem;
        .bt-nav-item{
            display: block;
            width: 20%;
            font-size: 0;
            text-align: center;
            text-decoration: none;
           img{
            // display: block;
            margin: 0 1.25rem .25rem;
            width: 1.1rem;
            height:1.1rem;
           }
           p{
               color: #999999;
               margin: 0;
               font-size: .6rem;
           }
        }
    }
}
.line{
    width: 100%;
    height: .4165rem;
    background-color: #e14139;
}
.b-line{
    width: 100%;
    height: 3.194rem;
    background-color: #e14139;
}
.btfloat{
    width: 100%;
    position:fixed;
    z-index: 10000;
    bottom: 3rem;
    text-align: center;
    a{
        img{
            width:6.9rem;
            height: 1.9rem;
        }
    }
}